Skip to main content

Setting levels

note

After long testing it was found that if a level has at least 3 touches, it doesn’t matter whether it has 3, 4, or 10 — they behave the same. So i implemented the ability to configure and search for three level types with different settings.

For each level setting you can set separate colors for support and resistance, the minimum number of touches, and min level length in bars. You can also quickly disable searching/display for that level.

4cf8003e846cad484efd0190bb79b929.png

If touches are clear, the only confusing option might be "Min level length (bars)".

Use the ruler and check how many bars the level spans:

d4891d0d481f164ac20e16e0b8a38e49.png

This level is 567 bars long. If the setting requires at least 100 bars length, the level is found and displayed. But if you set the minimum to 568 bars, it will not be shown:

d0888dbba3402fad8ea1f694650074ad.png

This setting helps remove noise, especially when using single-touch levels. Example:

2f0d047f76db68f5efa8d9fd2f876ede.png

Here the min length is 20 bars; set it to 100 and extra noise disappears:

a5e1ad72f3924c04a2a98c6ce8fe8250.png

Smart support & resistance levels

No matter the order in which you configure level search, the indicator will automatically redraw levels depending on the number of touches.

Example settings:

4549b6e5e462a0322fde0110e96bb60e.png

First the indicator will find a level configured for 1 touch:

fe2b5ec695ff2f6fec3e5a45f28c172f.png

When a second touch appears, the indicator will redraw the level using the settings for 2 touches:

893c05af0f61692e0c011f25baa7f05d.png

When a third touch appears and it satisfies the 3-touch settings, it will be redrawn accordingly:

ba0eda33959714be0c530278db2b01b1.png

This is a great algorithm:

88b44082c92b2a5c611eb98efa011a0a.png

It prevents the situation where a 1-touch level is drawn first and then blocks detection of other configured levels. It also works in reverse — if touches decrease, the color changes to reflect the level settings that match the new touch count and length. So you may see a level that was blue for 3 touches later become colored as a 2-touch level; previous blue lines remain as historical markers showing that originally there were 3 touches:

fd8c17031dd7b00a5443ea0d1d83d613.png

 

The Box follows touches to create cascades of levels

Example:

bb50dac2d5eac263094de58748f7f8e2.png

The Box corresponds to the value in "Max deviation between pivots (%)".

Initially the Box width is small, but when a new pivot appears inside the Box it expands to the "Max deviation between pivots (%)" of the new pivot:

5bb4ea10b5f2bea3eb0b618e45815ac4.png

Thus the Box gradually grows, collecting pivots and creating cascaded multi-touch levels that price breaks cleanly:

f6fb232e4611c2a39fd5c865fbffa3cd.png

 

Why the last line in a level is always shown as dots

From extensive testing across instruments, the last pivot in a cascade is usually the least reliable — it often produces false breakouts. Treat it with extra caution. Therefore the last line in a cascade is always displayed as dotted.

 

What happens if the number of touches falls below the level setting

The level color changes to the color you set for that touch-count scenario:

2a49ec775a6a45a2ba45d79422c8a5c1.png